package com.cgq.pro.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cgq.base.service.impl.BaseServiceImpl;
import com.cgq.pro.dao.LoginDao;
import com.cgq.pro.entity.User;
import com.cgq.pro.service.LoginService;

@Service
public class LoginServiceImpl extends BaseServiceImpl<User> implements
		LoginService {

	private LoginDao loginDao;
	
	@Autowired
	public void setLoginDao(LoginDao loginDao) {
		this.loginDao = loginDao;
		this.baseDao=loginDao;
	}

	public boolean isExitUser(User user) {
		return loginDao.isExitUser(user);
	}
	
}
